package cn.tedu.oop2;

import java.util.Scanner;

public class Demo {
    public static void main(String[] args) {
    aaa();
    }

    private static void aaa() {
        try{
            method3();
        }catch (Exception e){
            System.out.println("解决方案");
        }
    }

    public static void method3()throws Exception{
        System.out.println("请您输入要计算的第1个整数");
        int a=new Scanner(System.in).nextInt();
        System.out.println("请您输入要计算的第2个整数");
        int b=new Scanner(System.in).nextInt();
        System.out.println(a/b);
    }
}
